package com.itcast.pojo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import java.util.List;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author ${author}
 * @since 2020-06-19
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
public class User implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "uid", type = IdType.AUTO)
    @Excel(name = "用户编号",width = 30)
    private Integer uid;

    /**
     * 用户名
     */
    @TableField("userName")
    @Excel(name = "用户名",width = 30)
    private String userName;

    /**
     * 密码
     */
    private String password;

    /**
     * 性别
     */
    @Excel(name = "性别",width = 30)
    private String sex;

    /**
     * 居住城市
     */
    @Excel(name = "居住城市",width = 30)
    private String city;

    /**
     * 年龄
     */
    @Excel(name = "年龄",width = 30)
    private Integer age;

    /**
     * 个性签名
     */
    @Excel(name = "个性签名",width = 30)
    private String signature;

    /**
     * 手机号码
     */
    @Excel(name = "手机号码",width = 30)
    private String phone;

    private String salt;

    /**
     * 职业
     */
    @Excel(name = "职业",width = 30)
    private String occupation;

    /**
     * 收入情况
     */
    @TableField("income")
    @Excel(name = "收入情况",width = 30)
    private Integer income;


}
